package com.lcj.odr.db.dao;

import com.lcj.odr.db.pojo.OrderBillEntity;

import java.util.HashMap;
import java.util.Map;

public interface OrderBillDao {

    int updateBillPayment(Map param);

    /**
     * 添加订单费用账单
     * @param entity
     * @return row
     */
    public int insert(OrderBillEntity entity);

    /**
     * 删除账单
     * @param orderId
     * @return
     */
    public int deleteUnAcceptOrderBill(long orderId);

    /**
     * 更新账单费用
     * @param param
     * @return
     */
    int updateBillFee(Map param);

    /**
     * 查询预览订单信息
     * @param param
     * @return
     */
    HashMap searchReviewDriverOrderBill(Map param);


    String searchCustomerOpenId(Long customerId);

    String searchDriverOpenId(Long driverId);
}




